Method and apparatus for training a translation disambiguation classifier

ABSTRACT

A method of training a classifier includes applying a first classifier to a first set of unlabeled data to form a first set of labeled data. The first classifier is able to assign data to classes in a first set of classes. A second classifier is applied to a second set of unlabeled data to from a second set of labeled data. The second classifier is able to assign data to classes in a second set of classes that is different from the first set of classes. The first and second sets of labeled data are used to retrain the first classifier.

BACKGROUND OF THE INVENTION

[0001] The present invention relates to automatic translation systems. In particular, the present invention relates to resolving ambiguities in translations.

[0002] In translation systems, a string of characters in one language is converted into a string of characters in another language. One challenge to such translation systems is that a word in one language can have multiple possible translations in the other language depending on the sense of the word. For example, in English, the word “plant” can either be translated to the Chinese word “gongchang” which corresponds to the sense of “factory” or to “zhiwu” which corresponds to the sense of “vegetation”.

[0003] Under the prior art, this problem has been viewed as one of classification in that the word in one language must be classified to a particular sense before it can be translated into the other language. Such classifiers typically operate by examining the context in which the word is found and applying this context to a set of probability models that provide the likelihood that a word will have a particular sense given a particular context.

[0004] Such classifiers are typically trained on hand-labeled data that identifies the sense for an ambiguous word in the text. Hand labeling data is expensive because it requires a significant amount of labor. To solve this problem, one system of the prior art developed by Yarowsky used a bootstrapping method that iterates between training a classifier using labeled data and using the classifier to label data. Under this method, a small set of data is first labeled by an expert. This labeled data is then used to build an initial classifier. The remaining unlabeled data in the corpus is applied to the classifier to classify the data. Classifications with a high probability are accepted as correct and are added to the set of labeled data. The classifier is then retrained using the updated set of labeled data. Under Yarowsky, this bootstrapping method is performed with data of a single language.

[0005] The field of classification extends beyond translation systems and other systems for training classifiers have been developed. One system, known as co-training, was developed by Blum and Mitchell. Under co-training, two classifiers are constructed in parallel, which are used to identify a topic for a web page. One classifier uses text segments from a web page to classify the web page and another classifier uses links to the web page to classify the web page. The topics identified for the web pages by the classifiers are then used to retrain the classifiers. Under Bloom and Mitchell, both types of classifiers are trained for the same sets of classes or topics. Thus, the classes or topics identified for the web pages from the text of the web pages are the same as the classes identified from the links to the web pages.

[0006] Although the classification systems described above have been useful, there is continuing need to provide improved classifiers using as little labeled data as possible.

SUMMARY OF THE INVENTION

[0007] A method of training a classifier includes applying a first classifier to a first set of unlabeled data to form a first set of labeled data. The first classifier is able to assign data to classes in a first set of classes. A second classifier is applied to a second set of unlabeled data to from a second set of labeled data. The second classifier is able to assign data to classes in a second set of classes that is different from the first set of classes. The first and second sets of labeled data are used to retrain the first classifier.

BRIEF DESCRIPTION OF THE DRAWINGS

[0008]FIG. 1 is a block diagram of a general computing environment in which the present invention may be practiced.

[0009]FIG. 2 is a flow diagram of a method of iteratively training a classifier and labeling data under embodiments of the present invention.

[0010]FIG. 3 is a block diagram of a system for training classifiers under embodiments of the present invention.

[0011]FIG. 4 is a diagram showing the relationship of classes to classifiers under an embodiment of the present invention.

[0012]FIG. 5 is a flow diagram of a method training a classifier under embodiments of the present invention.

[0013]FIG. 6 is a flow diagram of a method of labeling data under embodiments of the present invention.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

[0014]FIG. 1 illustrates an example of a suitable computing system environment 100 on which the invention may be implemented. The computing system environment 100 is only one example of a suitable computing environment and is not intended to suggest any limitation as to the scope of use or functionality of the invention. Neither should the computing environment 100 be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary operating environment 100.

[0015] The invention is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, telephony systems, distributed computing environments that include any of the above systems or devices, and the like.

[0016] The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention is designed to be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules are located in both local and remote computer storage media including memory storage devices.

[0017] With reference to FIG. 1, an exemplary system for implementing the invention includes a general-purpose computing device in the form of a computer 110. Components of computer 110 may include, but are not limited to, a processing unit 120, a system memory 130, and a system bus 121 that couples various system components including the system memory to the processing unit 120. The system bus 121 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus also known as Mezzanine bus.

[0018] Computer 110 typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by computer 110 and includes both volatile and nonvolatile media, removable and non-removable media. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by computer 110. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of any of the above should also be included within the scope of computer readable media.

[0019] The system memory 130 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 131 and random access memory (RAM) 132. A basic input/output system 133 (BIOS), containing the basic routines that help to transfer information between elements within computer 110, such as during start-up, is typically stored in ROM 131. RAM 132 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 120. By way of example, and not limitation, FIG. 1 illustrates operating system 134, application programs 135, other program modules 136, and program data 137.

[0020] The computer 110 may also include other removable/non-removable volatile/nonvolatile computer storage media. By way of example only, FIG. 1 illustrates a hard disk drive 141 that reads from or writes to non-removable, nonvolatile magnetic media, a magnetic disk drive 151 that reads from or writes to a removable, nonvolatile magnetic disk 152, and an optical disk drive 155 that reads from or writes to a removable, nonvolatile optical disk 156 such as a CD ROM or other optical media. Other removable/non-removable, volatile/nonvolatile computer storage media that can be used in the exemplary operating environment include, but are not limited to, magnetic tape cassettes, flash memory cards, digital versatile disks, digital video tape, solid state RAM, solid state ROM, and the like. The hard disk drive 141 is typically connected to the system bus 121 through a non-removable memory interface such as interface 140, and magnetic disk drive 151 and optical disk drive 155 are typically connected to the system bus 121 by a removable memory interface, such as interface 150.

[0021] The drives and their associated computer storage media discussed above and illustrated in FIG. 1, provide storage of computer readable instructions, data structures, program modules and other data for the computer 110. In FIG. 1, for example, hard disk drive 141 is illustrated as storing operating system 144, application programs 145, other program modules 146, and program data 147. Note that these components can either be the same as or different from operating system 134, application programs 135, other program modules 136, and program data 137. Operating system 144, application programs 145, other program modules 146, and program data 147 are given different numbers here to illustrate that, at a minimum, they are different copies.

[0022] A user may enter commands and information into the computer 110 through input devices such as a keyboard 162, a microphone 163, and a pointing device 161, such as a mouse, trackball or touch pad. Other input devices (not shown) may include a joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 120 through a user input interface 160 that is coupled to the system bus, but may be connected by other interface and bus structures, such as a parallel port, game port or a universal serial bus (USB). A monitor 191 or other type of display device is also connected to the system bus 121 via an interface, such as a video interface 190. In addition to the monitor, computers may also include other peripheral output devices such as speakers 197 and printer 196, which may be connected through an output peripheral interface 195.

[0023] The computer 110 is operated in a networked environment using logical connections to one or more remote computers, such as a remote computer 180. The remote computer 180 may be a personal computer, a hand-held device, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 110. The logical connections depicted in FIG. 1 include a local area network (LAN) 171 and a wide area network (WAN) 173, but may also include other networks. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and the Internet.

[0024] When used in a LAN networking environment, the computer 110 is connected to the LAN 171 through a network interface or adapter 170. When used in a WAN networking environment, the computer 110 typically includes a modem 172 or other means for establishing communications over the WAN 173, such as the Internet. The modem 172, which may be internal or external, may be connected to the system bus 121 via the user input interface 160, or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer 110, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation, FIG. 1 illustrates remote application programs 185 as residing on remote computer 180. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.

[0025] The present invention provides a method and apparatus for training a classifier for use in disambiguating translations between two languages. In particular, the present invention trains classifiers for both languages and uses the classifiers to label unlabeled data in each language. The labeled data sets are then used to retrain each of the classifiers.

[0026] A method under the present invention for training the classifiers is shown in FIGS. 2, 5 and 6 and the system that is trained is shown in the block diagram of FIG. 3. In these figures, references is made to an English language classifier and a Chinese language classifier, however, the invention is not limited to these two languages and may be used with any pair of languages.

[0027] The process begins at step 200 of FIG. 2 where a set of labeled data is created. Under one embodiment, labeled data is initially provided for only one of the languages. In other embodiments, labeled data is provided for both languages. For example, either English labeled data 300 or Chinese labeled data 302 can be provided or both sets of labeled data can be provided at step 200. The labeled data provided at step 200 is small initially and is automatically augmented through the present invention to avoid the expense of hand-labeling a large set of training data. At steps 202 and 204, an English classifier 304 and a Chinese classifier 306, respectively, are trained in parallel with each other by an English trainer 308 and a Chinese trainer 310, respectively. Under one embodiment of the present invention, the classifiers for the two languages are trained using the same algorithm with different sets of data. A technique for training these classifiers under one embodiment of the present invention is shown in more detail in FIG. 5.

[0028] The steps of training a classifier involve determining a set of probabilities. The probabilities include the probability for each possible translation of an ambiguous word given the context of the word, as well as the probability that the translation is not a proper translation for the ambiguous word given the context. For example, for an ambiguous English word ε, such probabilities for a binary classifier are developed for each translation t_(ε) in a set of possible translations T_(ε) given a context s_(ε) such that:

p(t_(ε)|s_(ε)), t_(ε)∈T_(ε)  EQ. 1

p({overscore (t)}_(ε)|s_(ε)), {overscore (t)}_(ε)∈T_(ε)−{t_(ε)}  EQ. 2

where

s _(ε)=(e _(ε,1) ,e _(ε,2) , . . . e _(ε,m,)), e _(ε,i) ∈E(i=1,2, . . . m)   EQ. 3

[0029] and where E is the set of all possible English words, and ε_(e,i) is an individual context word surrounding the ambiguous word ε.

[0030] Similarly, for an ambiguous Chinese word γ, the probabilities for a binary classifier are defined as:

p(t_(γ)|s_(γ)), t_(γ)∈T_(γ)  EQ. 4

p({overscore (t)}_(γ)|s_(γ)), {overscore (t)}_(γ)∈T_(γ)−{t_(γ)}  EQ. 5

where

s _(γ)=(c _(γ,1) ,c _(γ,2) , . . . c _(γ,m)), c _(γ,i) ∈C(i=1,2, . . . m)   EQ. 6

[0031] and where c_(γ,i) is a context word that surrounds the ambiguous word γ and C represents all possible Chinese words.

[0032] Note that the sets of possible translations T_(ε) and T_(γ) are not the same for the two languages. The reason for this is that two words that are translations of each other can have different senses in their respective languages. Thus, for example, the Chinese word “zhiwu”, which is a possible translation for “plant” can also be translated as “vegetable”. Thus, “plant” and “vegetable” are possible classes for “zhiwu”. However, “plant” does not have a translation of “vegetable”. Thus, the classes for plant are different than the classes for “zhiwu”.

[0033] Thus, the classifiers for Chinese attempt to classify an instance s_(γ) of a Chinese word γ into one set of classes or translations and the classifiers for English attempt to classify an instance s_(ε) of an English word ε into a different set of classes or translations. As a result, the two classifiers are not trained on the same set of classes.

[0034] The different sets of classes can be seen in FIG. 4. For example, classifier 400 of Language 1 classifies a word in Language 1 in either class 2 or class 3. However, in Language 2, there is no classifier that classifies words into these two classes. Instead, classifier 402 of Language 2 classifies a word into either class 1 or class 2, while classifier 404 of Language 2 classifies a word into either class 3 or class 4. Thus, the classifiers in the two languages do not operate on the same set of classes.

[0035] At step 500 of FIG. 5, an ambiguous word from the language is selected. For example, when building classifiers for the English language, an ambiguous English word would be selected and when building classifiers for the Chinese language, an ambiguous Chinese word would be selected at step 500.

[0036] At step 502, a translation dictionary 312 of FIG. 3 is consulted to identify the possible translations for the selected ambiguous word c and one of these translations, t_(ε), is selected.

[0037] In step 504 of FIG. 5, the context length, which indicates the number of context words that will be used, is selected. Under one embodiment of the present invention, classifier probabilities produced for different context lengths are combined to generate a Naïve Bayesian Ensemble classifier as discussed further below.

[0038] Under one embodiment of the present invention, the classifier probabilities p(t_(ε)|s_(ε)) and p({overscore (t)}_(ε)|s_(ε)) are calculated using Bayes' Rule such that:

p(t _(ε) |s _(ε))=p(t _(ε))p(s _(ε) |t _(ε))   EQ. 7

p({overscore (t)} _(ε) |s _(ε))=p({overscore (t)} _(ε))p(s _(ε) |{overscore (t)} _(ε))   EQ. 8

[0039] where p(t_(ε)) is the probability of translation t_(ε) across all contexts for ε.

[0040] Similarly, for Chinese, the classifier probabilities are:

p(t _(}) |s _(γ))=p(t _(γ))p(s _(γ) |t _(γ))   EQ. 9

p({overscore (t)} _(γ) |s _(γ))=p({overscore (t)} _(γ))p(s _(γ) |{overscore (t)} _(γ))   EQ. 10

[0041] where p(t_(γ)) is the probability of transition t_(γ) across all contexts for γ.

[0042] Under the present invention, the probabilities p(s_(ε)|t_(ε)), p(s_(ε)|{overscore (t)}_(ε)), p(s_(γ)|t_(γ)) and p(s_(γ)|{overscore (t)}_(γ)) are calculated as the product of individual probabilities for each word in the context such that: $\begin{matrix} {{p\left( s_{ɛ} \middle| t_{ɛ} \right)} = {\prod\limits_{i = 1}^{m}{p\left( e_{ɛ,i} \middle| t_{ɛ} \right)}}} & {{EQ}.\quad 11} \\ {{p\left( s_{ɛ} \middle| {\overset{\_}{t}}_{ɛ} \right)} = {\prod\limits_{i = 1}^{m}{p\left( e_{ɛ,i} \middle| {\overset{\_}{t}}_{ɛ} \right)}}} & {{EQ}.\quad 12} \\ {{p\left( s_{\gamma} \middle| t_{\gamma} \right)} = {\prod\limits_{i = 1}^{m}{p\left( c_{\gamma,i} \middle| t_{\gamma} \right)}}} & {{EQ}.\quad 13} \\ {{p\left( s_{\gamma} \middle| {\overset{\_}{t}}_{\gamma} \right)} = {\prod\limits_{i = 1}^{m}{p\left( c_{\gamma,i} \middle| {\overset{\_}{t}}_{\gamma} \right)}}} & {{EQ}.\quad 14} \end{matrix}$

[0043] Under one embodiment of the present invention, each word component of the context probability shown on the right side of Equations 11, 12, 13 and 14 is determined as a linear combination of a component estimated from the English labeled data, a component estimated from the Chinese labeled data, and a component determined from a uniform distribution of words in the language. Thus, each word component probability is defined as:

p(e _(ε) |t _(ε))=(1−α−β)p ^((E))(e _(ε) |t _(ε))+αp ^((C))(e _(ε) |t _(ε))+βp ^((u))(e _(ε))   EQ. 15

p(e _(ε) |{overscore (t)} _(ε))=(1−α−β)p ^((E))(e _(ε) |{overscore (t)} _(ε))+αp ^((C))(e _(ε) |{overscore (t)} _(ε))+βp ^((u))(e _(ε))   EQ. 16

p(c _(γ) |t _(γ))=(1−α−β)p ^((C))(c _(γ) |t _(γ))+αp ^((E))(c _(γ) |t _(γ))+βp ^((u))(c _(γ))   EQ. 17

p(c _(γ) |{overscore (t)} _(γ))=(1−α−β)p ^((C))(c _(γ) |{overscore (t)} _(γ))+αp ^((E))(c _(γ) |{overscore (t)} _(γ))+βp ^((u))(c _(γ))   EQ. 18

[0044] where the i subscript has been dropped from e_(ε,i) and c_(γ,i) in favor of e_(ε) and c_(γ) to simplify the expression, 0≦α≦1, 0≦β≦1, α+β≦1, and in one embodiment α=0.4 and β=0.2, and where p^((u))(e_(ε)) is a uniform probability distribution for each word in a set E of possible English words, p^((u))(c_(γ)) is a uniform probability distribution for each word in the set C of possible Chinese words, p^((E))(e_(ε)|t_(ε)) and p^((E))(e_(ε)|{overscore (t)}_(ε)) are probability components that are determined from English labeled data 300 and are used to build English classifier 304, p^((C))(e_(ε)|t_(ε)) and p^((C))(e_(ε)|{overscore (t)}_(ε)) are probability components determined from Chinese labeled data 302 and are used to build English classifier 304, p^((C))(c_(γ)|t_(γ)) and p^((C))(c_(γ)|{overscore (t)}_(ε)) are probability components determined from Chinese labeled data 302 and are used to build Chinese classifier 306 and p^((E))(c_(γ)|t_(γ)) and p^((E))(c_(γ)|{overscore (t)}_(γ)) are probability components determined from English labeled data 300 and are used to build Chinese classifier 306.

[0045] In step 506, probability components p^((E))(e_(ε)|t_(ε)) and p^((E))(e_(ε)|{overscore (t)}_(ε)) are determined from the English labeled data while probability components p^((C))(c₆₅ |t_(γ)) and p^((C))(c_(γ)|{overscore (t)}_(γ)) are determined from the Chinese labeled data. Under one embodiment, these probability components are determined using maximum likelihood estimation (MLE) on the respective labeled data sets. Such maximum likelihood estimation is well known in the art.

[0046] At step 508, the probability components p^((C))(e_(ε)|t_(ε)) and p^((C))(e_(ε)|{overscore (t)}_(ε)) are determined from the Chinese labeled data 302 and probability components p^((E))(c_(γ)|t_(γ)) and p^((E))(c_(γ)|{overscore (t)}_(γ)) are determined from the English labeled data 300. Under one embodiment, the system uses an Expectation Maximization algorithm (EM algorithm) that is based on finite mixture models of the form: $\begin{matrix} {{p\left( c \middle| t_{ɛ} \right)} = {\sum\limits_{e_{ɛ} \in E}{{p\left( {\left. c \middle| e_{ɛ} \right.,t_{ɛ}} \right)}{p\left( e_{ɛ} \middle| t_{ɛ} \right)}}}} & {{EQ}.\quad 19} \\ {{p\left( c \middle| {\overset{\_}{t}}_{ɛ} \right)} = {\sum\limits_{e_{ɛ} \in E}{{p\left( c \middle| {e_{ɛ}{\overset{\_}{t}}_{ɛ}} \right)}{p\left( e_{ɛ} \middle| {\overset{\_}{t}}_{ɛ} \right)}}}} & {{EQ}.\quad 20} \\ {{p\left( e \middle| t_{\gamma} \right)} = {\sum\limits_{c_{\gamma} \in C}{{p\left( {\left. e \middle| c_{\gamma} \right.,t_{\gamma}} \right)}{p\left( c_{\gamma} \middle| t_{\gamma} \right)}}}} & {{EQ}.\quad 21} \\ {{p\left( e \middle| {\overset{\_}{t}}_{\gamma} \right)} = {\sum\limits_{c_{\gamma} \in C}{{p\left( {\left. e \middle| c_{\gamma} \right.,{\overset{\_}{t}}_{\gamma}} \right)}{p\left( c_{\gamma} \middle| {\overset{\_}{t}}_{\gamma} \right)}}}} & {{EQ}.\quad 22} \end{matrix}$

[0047] and the assumption that the data in Chinese labeled data 302 and English labeled data 300 is independently generated from the model.

[0048] Before the EM training can begin, initial values for the probabilities p(c|e_(ε), t_(ε)), p(c|e_(ε){overscore (t)}_(ε)), p(e|c_(γ, t) _(γ)), p(e|c_(γ), {overscore (t)}_(γ)), p(e_(ε|t) _(ε)), p(e_(ε|{overscore (t)}) _(ε)), p(c_(γ)|t_(γ)) and p(c_(γ)|{overscore (t)}_(γ)) must be determined. Under one embodiment of the invention, these values are initialized as: $\begin{matrix} {{p\left( {\left. c \middle| e_{ɛ} \right.,t_{ɛ}} \right)} = {{p\left( {\left. c \middle| e_{ɛ} \right.,{\overset{\_}{t}}_{ɛ}} \right)} = \left\{ \begin{matrix} {\frac{1}{C_{e}},} & {{{if}\quad c} \in \quad C_{e}} \\ {0,} & {{{if}\quad c} \notin \quad C_{e}} \end{matrix} \right.}} & {{EQ}.\quad 23} \\ {{p\left( {\left. e \middle| c_{\gamma} \right.,t_{\gamma}} \right)} = {{p\left( {\left. e \middle| c_{\gamma} \right.,{\overset{\_}{t}}_{\gamma}} \right)} = \left\{ \begin{matrix} {\frac{1}{E_{c}},} & {{{if}\quad e} \in \quad E_{c}} \\ {0,} & {{{if}\quad e} \notin \quad E_{c}} \end{matrix} \right.}} & {{EQ}.\quad 24} \\ {{{p\left( e_{ɛ} \middle| t_{ɛ} \right)} = {{p\left( e_{ɛ} \middle| {\overset{\_}{t}}_{ɛ} \right)} = \frac{1}{E}}},{e_{ɛ} \in \quad E}} & {{EQ}.\quad 25} \\ {{{p\left( c_{\gamma} \middle| t_{\gamma} \right)} = {{p\left( c_{\gamma} \middle| {\overset{\_}{t}}_{\gamma} \right)} = \frac{1}{C}}},{c_{\gamma} \in \quad C}} & {{EQ}.\quad 26} \end{matrix}$

[0049] where C_(ε) represents all of the Chinese words that can be translated from the English context word e_(ε), E_(ε) represents all of the English words that can be translated from the Chinese context word c_(γ), |C_(ε)| represents the number of Chinese words that can be translated from English word e_(ε), |E_(ε)| represents the number of English words that can be translated from Chinese word c_(γ), |E| represents the number of words in the English language, and |C| represents the number of words in the Chinese language.

[0050] With these values initialized, the EM algorithm can be performed to determine the values of components p(e_(ε)|t_(ε)), p(e_(ε)|{overscore (t)}_(ε)), p(c_(γ)|t_(γ)) and p(c_(γ)|{overscore (t)}_(γ)). Specifically, to determine component p(e_(ε)|t_(ε)) the following E step is performed: $\begin{matrix} \left. {p\left( {\left. e \middle| c \right.,t_{ɛ}} \right)}\leftarrow\frac{{p\left( {\left. c \middle| e \right.,t_{ɛ}} \right)}{p\left( e \middle| t_{ɛ} \right)}}{\sum\limits_{e \in E}{{p\left( {\left. c \middle| e \right.,t_{ɛ}} \right)}{p\left( e \middle| t_{ɛ} \right)}}} \right. & {{EQ}.\quad 27} \end{matrix}$

[0051] followed by an M step consisting of: $\begin{matrix} \left. {p\left( {\left. c \middle| e \right.,t_{ɛ}} \right)}\leftarrow\frac{{f\left( {c,t_{ɛ}} \right)}{p\left( {\left. e \middle| c \right.,t_{ɛ}} \right)}}{\sum\limits_{c \in C}{{f\left( {c,t_{ɛ}} \right)}{p\left( {\left. e \middle| c \right.,t_{ɛ}} \right)}}} \right. & {{EQ}.\quad 28} \\ \left. {p\left( e \middle| t_{ɛ} \right)}\leftarrow\frac{\sum\limits_{c \in C}{{f\left( c \middle| t_{ɛ} \right)}{p\left( {\left. e \middle| c \right.,t_{ɛ}} \right)}}}{\sum\limits_{c \in C}{f\left( {c,t_{ɛ}} \right)}} \right. & {{EQ}.\quad 29} \end{matrix}$

[0052] where c indicates a particular Chinese word, e indicates a particular English word, equation 27 is evaluated for all possible Chinese words c in the set of possible Chinese words C and equations 28 and 29 are evaluated for each English word e in the set of all possible English words E. The E step of equation 27 and the M step of equations 28 and EQ. 29 are repeated iteratively until the model becomes stable. Once stable, the value calculated in equation 29 for p(e|t_(ε)) is selected and is applied to equation 15 as term p^((C))(e_(ε)|t_(ε)).

[0053] The probability p^((C))(e_(ε)|{overscore (t)}_(ε)) of equation 16 is calculated using an E step of: $\begin{matrix} \left. {p\left( {\left. e \middle| c \right.,{\overset{\_}{t}}_{ɛ}} \right)}\leftarrow\frac{{p\left( {\left. c \middle| e \right.,{\overset{\_}{t}}_{ɛ}} \right)}{p\left( e \middle| {\overset{\_}{t}}_{ɛ} \right)}}{\sum\limits_{e \in E}{{p\left( {\left. c \middle| e \right.,{\overset{\_}{t}}_{ɛ}} \right)}{p\left( e \middle| {\overset{\_}{t}}_{ɛ} \right)}}} \right. & {{EQ}.\quad 30} \end{matrix}$

[0054] and an M step of $\begin{matrix} \left. {p\left( {\left. c \middle| e \right.,{\overset{\_}{t}}_{ɛ}} \right)}\leftarrow\frac{{f\left( {c,{\overset{\_}{t}}_{ɛ}} \right)}{p\left( {\left. e \middle| c \right.,{\overset{\_}{t}}_{ɛ}} \right)}}{\sum\limits_{c \in C}{{f\left( {c,{\overset{\_}{t}}_{ɛ}} \right)}{p\left( {\left. e \middle| c \right.,{\overset{\_}{t}}_{ɛ}} \right)}}} \right. & {{EQ}.\quad 31} \\ \left. {p\left( e \middle| {\overset{\_}{t}}_{ɛ} \right)}\leftarrow\frac{\sum\limits_{c \in C}{{f\left( {c,{\overset{\_}{t}}_{ɛ}} \right)}{p\left( {\left. e \middle| c \right.,{\overset{\_}{t}}_{ɛ}} \right)}}}{\sum\limits_{c \in C}{f\left( {c,{\overset{\_}{t}}_{ɛ}} \right)}} \right. & {{EQ}.\quad 32} \end{matrix}$

[0055] which are iterated until a stable value of p(e|{overscore (t)}_(ε)) is determined. This value is then used as p^((C))(e_(ε)|{overscore (t)}_(ε)) in equation 16.

[0056] The probability p^((E))(c_(γ)|t_(γ)) of equation 17 is determined using an E step of: $\begin{matrix} \left. {p\left( {\left. c \middle| e \right.,t_{\gamma}} \right)}\leftarrow\frac{{p\left( {\left. e \middle| c \right.,t_{\gamma}} \right)}{p\left( c \middle| t_{\gamma} \right)}}{\sum\limits_{c \in C}{{p\left( {\left. e \middle| c \right.,t_{\gamma}} \right)}{p\left( c \middle| t_{\gamma} \right)}}} \right. & {{EQ}.\quad 33} \end{matrix}$

[0057] and an M step of: $\begin{matrix} \left. {p\left( {\left. e \middle| c \right.,t_{\gamma}} \right)}\leftarrow\frac{{f\left( {e,t_{\gamma}} \right)}{p\left( {\left. c \middle| e \right.,t_{\gamma}} \right)}}{\sum\limits_{e \in E}{{f\left( {e,t_{\gamma}} \right)}{p\left( {\left. c \middle| e \right.,t_{\gamma}} \right)}}} \right. & {{EQ}.\quad 34} \\ \left. {p\left( c \middle| t_{\gamma} \right)}\leftarrow\frac{\sum\limits_{e \in E}{{f\left( {e,t_{\gamma}} \right)}{p\left( {\left. c \middle| e \right.,t_{\gamma}} \right)}}}{\sum\limits_{e \in E}{f\left( {e,t_{\gamma}} \right)}} \right. & {{EQ}.\quad 35} \end{matrix}$

[0058] The E step and the M step are iterated until p(c|t_(γ)) becomes stable at which point it is used as p^((E))(c_(γ)|t_(γ)) in Equation 17.

[0059] Lastly, probability p^((E))(c_(γ)|{overscore (t)}_(γ)) is calculated using an E step of: $\begin{matrix} \left. {p\left( {\left. c \middle| e \right.,{\overset{\_}{t}}_{\gamma}} \right)}\leftarrow\frac{{p\left( {\left. e \middle| c \right.,{\overset{\_}{t}}_{\gamma}} \right)}{p\left( c \middle| {\overset{\_}{t}}_{\gamma} \right)}}{\sum\limits_{c \in C}{{p\left( {\left. e \middle| c \right.,{\overset{\_}{t}}_{\gamma}} \right)}{p\left( c \middle| {\overset{\_}{t}}_{\gamma} \right)}}} \right. & {{EQ}.\quad 36} \end{matrix}$

[0060] and an M step of: $\begin{matrix} \left. {p\left( {\left. e \middle| c \right.,{\overset{\_}{t}}_{\gamma}} \right)}\leftarrow\frac{{f\left( {e,{\overset{\_}{t}}_{\gamma}} \right)}{p\left( {\left. c \middle| e \right.,{\overset{\_}{t}}_{y}} \right)}}{\sum\limits_{e\quad \in \quad E}{{f\left( {e,{\overset{\_}{t}}_{\gamma}} \right)}{p\left( {\left. c \middle| e \right.,{\overset{\_}{t}}_{y}} \right)}}} \right. & {{EQ}.\quad 37} \\ \left. {p\left( c \middle| {\overset{\_}{t}}_{\gamma} \right)}\leftarrow\frac{\sum\limits_{e\quad \in \quad E}{{f\left( {e,{\overset{\_}{t}}_{\gamma}} \right)}{p\left( {\left. c \middle| e \right.,{\overset{\_}{t}}_{y}} \right)}}}{\sum\limits_{e\quad \in \quad E}{f\left( {e,{\overset{\_}{t}}_{\gamma}} \right)}} \right. & {{EQ}.\quad 38} \end{matrix}$

[0061] The E step and the M step are iterated until p(c|{overscore (t)}_(γ)) becomes stable at which point it is used as p^((E))(c_(γ)|{overscore (t)}_(γ)) in equation 18.

[0062] After probability components p^((C))(e_(ε)|t_(ε)), p^((C))(e_(ε)|{overscore (t)}_(ε)), p^((E))(c_(γ)|t_(γ)) and p^((E))(c_(γ)|{overscore (t)}_(γ)) have been trained through the EM algorithm, their values are inserted into equations 15, 16, 17 and 18 to determine the probability values p(e_(ε)|t_(ε)), p(e_(ε)|{overscore (t)}_(ε)), p(c_(γ)|t_(γ)) and p(c_(γ)|{overscore (t)}_(γ)) at step 510. Thus, these components are linearly combined with the respective probability components p^((E))(e_(ε)|t_(ε)), p^((E))(e_(ε)|{overscore (t)}_(ε)), p^((C))(c_(γ)|t_(γ)) and p^((C))(c_(γ)|{overscore (t)}_(γ)) from the source language and the uniform probabilities.

[0063] At step 512, probability values p(e_(ε)|t_(ε)), p(e_(ε)|{overscore (t)}_(ε)), p(c_(γ)|t_(γ)) and p(c_(γ)|{overscore (t)}_(γ)) for each of the context words e_(ε,j) and c_(γ,j) are applied to equations 11-14 to produce context probabilities p(s_(ε)|t_(ε)), p(s_(ε)|{overscore (t)}_(ε)), p(s_(γ)|t_(γ)) and p(s_(γ)|{overscore (t)}_(γ)).

[0064] At step 514, the probabilities p(t_(ε)), p({overscore (t)}_(ε)), p(t_(γ)) and p({overscore (t)}_(γ)) are determined using maximum likelihood estimation. In particular, p(t_(ε)) and p({overscore (t)}_(ε)) are determined using English labeled data 300 and p(t_(γ)) and p({overscore (t)}_(γ)) are determined using Chinese labeled data 302.

[0065] At step 516, equations 7, 8, 9 and 10 are used to determine classifier probabilities p(t_(ε)|s_(ε)), p({overscore (t)}_(ε)|s_(ε)), p(t_(γ)|s_(γ)) and p({overscore (t)}_(γ)|s_(γ)) using the context probabilities p(s_(ε)|t_(ε)), p(s_(ε)|{overscore (t)}_(ε)), p(s_(γ)|t_(γ)) and p(s_(γ)|{overscore (t)}_(γ)) equations 11-14 and the translation probabilities p(t_(ε)), p({overscore (t)}_(ε)), p(t_(γ)) and p({overscore (t)}_(γ)). For embodiments that use a Naive Bayesian Ensemble classifier, the classifier probabilities determined for this context length are added to a running average as: $\begin{matrix} {{p\left( t_{ɛ} \middle| s_{ɛ} \right)}_{{avg}.} = {{p^{\prime}\left( t_{ɛ} \middle| s_{ɛ} \right)}_{{avg}.} + {\frac{1}{h}{p\left( t_{ɛ} \middle| s_{ɛ:i} \right)}}}} & {{EQ}.\quad 39} \\ {{p\left( {\overset{\_}{t}}_{ɛ} \middle| s_{ɛ} \right)}_{{avg}.} = {{p^{\prime}\left( {\overset{\_}{t}}_{ɛ} \middle| s_{ɛ} \right)}_{{avg}.} + {\frac{1}{h}{p\left( {\overset{\_}{t}}_{ɛ} \middle| s_{ɛ:i} \right)}}}} & {{EQ}.\quad 40} \\ {{p\left( t_{\gamma} \middle| s_{\gamma} \right)}_{{avg}.} = {{p^{\prime}\left( t_{\gamma} \middle| s_{\gamma} \right)}_{{avg}.} + {\frac{1}{h}{p\left( t_{\gamma} \middle| s_{\gamma:i} \right)}}}} & {{EQ}.\quad 41} \\ {{p\left( {\overset{\_}{t}}_{\gamma} \middle| s_{\gamma} \right)}_{{avg}.} = {{p^{\prime}\left( {\overset{\_}{t}}_{\gamma} \middle| s_{\gamma} \right)}_{{avg}.} + {\frac{1}{h}{p\left( t_{\gamma} \middle| s_{\gamma:i} \right)}}}} & {{EQ}.\quad 42} \end{matrix}$

[0066] where h is the number of different context lengths, p(t_(ε)|s_(ε:i)), p({overscore (t)}_(ε)|s_(ε:i)), p(t_(γ)|s_(γ:i)) and p(t_(γ)|s_(γ:i)) are the classifier probabilities determined for the current context length, probabilities p′(t_(ε)|s_(ε))_(avg.), p′({overscore (t)}_(ε)|s_(ε))_(avg.), p′(t_(γ)|s_(γ))_(avg.) and p′({overscore (t)}_(γ)|s_(γ))_(avg.) are the previous values of the running averages for the classifier probabilities and probabilities p(t_(ε)|s_(ε))_(avg.), p({overscore (t)}_(ε)|s_(ε))_(avg.), p(t_(γ)|s_(γ))_(avg.) and p({overscore (t)}_(γ)|s_(γ))_(avg.) are the updated running averages of the classifier probabilities. The last calculated values of the running averages are used as the classifier probabilities p(t_(ε)|s_(ε)), p({overscore (t)}_(ε)|s_(ε)), p(t_(γ)|s_(γ)) and p({overscore (t)}_(γ)|s_(γ)).

[0067] At step 518, the method determines if there are more context lengths to be considered. If there are more context lengths, the next context length is selected at step 504 and the steps between step 504 and step 518 are repeated for the new context length.

[0068] When there are no more context lengths at step 518, the method determines if there are more translations for the ambiguous word at step 520. If there are more translations available, the next translation is selected at step 502 and steps 504, 506, 508, 510, 512, 514, 516, and 518 are repeated for the new translation. When there are no more translations at step 520, the process continues at step 522 where it determines if there are more ambiguous words in the language. If there are more ambiguous words, the next ambiguous word is selected at step 500 and the steps between steps 500 and 522 are repeated for the newly selected word.

[0069] When there are no more ambiguous words at step 522, the training of the classifiers is complete.

[0070] Once the classifiers have been trained at steps 202 and 204 of FIG. 2, English unlabeled data 314 is labeled using English classifiers 304 at step 206. Similarly, Chinese unlabeled data 316 is labeled using Chinese classifiers 306 at step 208.

[0071]FIG. 6 provides a flow diagram that shows the process of steps 206 and 208 in detail. The steps of FIG. 6 are performed in parallel by English classifier 304 and Chinese classifier 306 as indicated by FIG. 2.

[0072] At step 600, an ambiguous word is selected. The unlabeled data 314, 316 is then examined to find an instance of the word and its surrounding context at step 602. The context length of the context matches the longest context length used to train the classifiers.

[0073] At step 604, respective classifiers 304 and 306 are used to identify a best translation t for the instance of the word and the context. Under one embodiment, this is done by calculating a score for each translation and selecting the translation with the maximum score. For English, the score is calculated as: $\begin{matrix} {{\lambda \left( s_{ɛ} \right)} = {\max\limits_{t_{ɛ} \in \quad T_{ɛ}}\frac{p\left( t_{ɛ} \middle| s_{ɛ} \right)}{p\left( {\overset{\_}{t}}_{ɛ} \middle| s_{ɛ} \right)}}} & {{EQ}.\quad 43} \end{matrix}$

[0074] and for Chinese this score is calculated as: $\begin{matrix} {{\lambda \left( s_{\gamma} \right)} = {\max\limits_{t_{\gamma} \in \quad T_{\gamma}}\frac{p\left( t_{\gamma} \middle| s_{\gamma} \right)}{p\left( {\overset{\_}{t}}_{\gamma} \middle| s_{\gamma} \right)}}} & {{EQ}.\quad 44} \end{matrix}$

[0075] At step 606, the score selected from equation 43 or equation 44 at step 604 is stored along with the instance s_(ε), s_(γ) in a list for the translation that maximized the score in equation 43 or equation 44.

[0076] At step 608, the method determines if there are more instances of the ambiguous word selected at step 600. If there are more instances, the next instance is selected at step 602 and steps 604 and 606 are repeated for the new instance. When there are no further instances at step 608, the process continues at step 610 where the instances in each translation's list are ordered by the scores for the instance and the best scoring instances in each translation list are selected to be added to the labeled data such as English labeled data 300 or Chinese labeled data 302. The number of instances that are added to the labeled data is a matter of design choice.

[0077] At step 612, the method determines if there are more ambiguous words. If there are more ambiguous words, the next ambiguous word is selected at step 600 and steps 602, 604, 606, 608 and 610 are repeated for the new word. When there are no further ambiguous words at step 612, the labeling process is complete at step 614.

[0078] After the method of FIG. 6 is performed at steps 206 and 208 respectively, the method of FIG. 2 continues at step 210 where the updated labeled data sets are exchanged between English trainer 308 and Chinese trainer 310. This makes the updated labeled data available to the trainers and the process of FIG. 2 returns to steps 202 and 204 to retrain the classifiers based on the updated labeled data. The steps of training the classifiers, using the classifiers to label unlabeled data, and exchanging the labeled data sets are repeated until there is no further data to be labeled.

[0079] By using the labeled data sets in two different languages to train a classifier in a single language, the present invention improves the final classifier that is produced while still limiting the amount of hand-labeled data that is required to form the classifiers. Note that although a general algorithm has been provided that can be used to generate classifiers for any number of ambiguous words in both English and Chinese, in some embodiments, classifiers are built only for a selected set of words in one or both languages.

[0080] Although the present invention has been described with reference to particular embodiments, workers skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the invention. 

What is claimed is:
 1. A method of training a classifier, the method comprising: applying a first classifier to a first set of unlabeled data to form a first set of labeled data, the first classifier capable of assigning data to classes in a first set of classes; applying a second classifier to a second set of unlabeled data to form a second set of labeled data, the second classifier capable of assigning data to classes in a second set of classes that is different from the first set of classes; and using the first set of labeled data and the second set of labeled data to retrain the first classifier to form a retrained classifier.
 2. The method of claim 1 wherein the first set of unlabeled data comprises text in a first language and the second set of unlabeled data comprises text in a second language.
 3. The method of claim 2 wherein the first set of classes comprises senses for a word in the first language.
 4. The method of claim 3 wherein the second set of classes comprises senses for a word in the second language.
 5. The method of claim 1 wherein using the first set of labeled data and the second set of labeled data to retrain the first classifier comprises: determining a first probability component from the first set of labeled data; determining a second probability component from the second set of labeled data; and combining the first probability component and the second probability component to form a probability term used to define the first classifier.
 6. The method of claim 5 wherein determining the first probability component comprises executing a first algorithm using the first set of labeled data and wherein determining the second probability component comprises executing a second algorithm that operates differently from the first algorithm using the second set of labeled data.
 7. The method of claim 6 wherein the first algorithm comprises a maximum likelihood estimation algorithm.
 8. The method of claim 7 wherein the second algorithm comprises an expectation maximization algorithm.
 9. The method of claim 5 wherein combining the first probability component and the second probability component comprises linearly combining the first probability component and the second probability component.
 10. The method of claim 1 further comprising using the first set of labeled data and the second set of labeled data to retrain the second classifier to form a second retrained classifier.
 11. The method of claim 10 wherein using the first set of labeled data to retrain the first classifier comprises executing a first algorithm on the first set of labeled data and wherein using the first set of labeled data to retrain the second classifier comprises executing a second algorithm on the first set of labeled data, where the second algorithm operates differently than the first algorithm.
 12. The method of claim 11 wherein the first algorithm comprises a maximum likelihood estimation algorithm.
 13. The method of claim 12 wherein the second algorithm comprises an expectation maximization algorithm.
 14. The method of claim 10 further comprising: applying the retrained classifier to a set of unlabeled data to form a first additional set of labeled data; applying the second retrained classifier to a set of unlabeled data to form a second additional set of labeled data; and using the first additional set of labeled data and the second additional set of labeled data to retrain the retrained classifier.
 15. A computer-readable medium having computer-executable instructions for performing steps comprising: generating first language labeled data that indicates a sense of at least one word in a first language; generating second language labeled data that indicates a sense of at least one word in a second language; and using the first language labeled data and the second language labeled data to train a classifier for the first language, where the classifier can be used to identify a sense of a word in the first language.
 16. The computer-readable medium of claim 15 wherein generating first language labeled data comprises applying unlabeled data in the first language to a classifier for the first language.
 17. The computer-readable medium of claim 16 wherein training a classifier for the first language comprises retraining the classifier used to generate the first language labeled data.
 18. The computer-readable medium of claim 16 wherein generating second language labeled data comprises applying unlabeled data in the second language to a classifier for the second language.
 19. The computer-readable medium of claim 15 wherein using the first language labeled data and the second language labeled data to train a classifier comprises: determining a first probability component using the first language labeled data; determining a second probability component using the second language labeled data; and combining the first probability component and the second probability component to form a probability term for the classifier.
 20. The computer-readable medium of claim 19 wherein combining the first probability component and the second probability component comprises linearly combining the first probability component and the second probability component.
 21. The computer-readable medium of claim 19 wherein determining the first probability component comprises using a first algorithm and wherein determining the second probability component comprises using a second algorithm that is different from the first algorithm.
 22. The computer-readable medium of claim 21 wherein the first algorithm is a maximum likelihood estimation algorithm.
 23. The computer-readable medium of claim 22 wherein the second algorithm is an expectation maximization algorithm.
 24. The computer-readable medium of claim 15 further comprising using the classifier trained from the first language labeled data and the second language labeled data to classify unlabeled data in the first language to form additional first language labeled data.
 25. The computer-readable medium of claim 15 further comprising using the first language labeled data and the second language labeled data to train a classifier for the second language.
 26. The computer readable medium of claim 25 wherein using the first language labeled data and the second language labeled data to train a classifier for the second language comprises: determining a first probability component using the first language labeled data; determining a second probability component using the second language labeled data; and combining the first probability component and the second probability component to form a probability term for the classifier for the second language.
 27. The computer-readable medium of claim 26 wherein combining the first probability component and the second probability component comprises linearly combining the first probability component and the second probability component.
 28. The computer-readable medium of claim 26 wherein determining the first probability component comprises using a first algorithm and wherein determining the second probability component comprises using a second algorithm that is different from the first algorithm.
 29. The computer-readable medium of claim 28 wherein the second algorithm is a maximum likelihood estimation algorithm.
 30. The computer-readable medium of claim 29 wherein the first algorithm is- an expectation maximization algorithm.
 31. The computer-readable medium of claim 25 further comprising using the classifier for the second language to classify unlabeled data in the second language to form additional second language labeled data. 